// 1 为输入框input
// 2 为下拉选择select  21 多选下拉框
// 3 为日期选择框  31 日期范围
// 4 为多行文本输入textarea
export const allFields = [
  { fieldName: 'creditCode', fieldTxt: '统一社会信用代码', placeholder: '请输入统一社会信用代码', UiType: 1, must: true },
  { fieldName: 'enterpriseName', fieldTxt: '寄递物流企业名称', placeholder: '请输入寄递物流企业名称', UiType: 1, must: true },
  { fieldName: 'areaName', fieldTxt: '所在辖区', placeholder: '请输入所在辖区', UiType: 1, must: true },
  { fieldName: 'enterpriseAddress', fieldTxt: '企业详细地址', placeholder: '请输入企业详细地址', UiType: 4, must: true },
  { fieldName: 'enterpriseContact', fieldTxt: '企业联系方式', placeholder: '请输入企业联系方式', UiType: 1, must: true },
  { fieldName: 'personInCharge', fieldTxt: '企业负责人姓名', placeholder: '请输入企业负责人姓名', UiType: 1, must: true },
  { fieldName: 'personInChargeContact', fieldTxt: '企业负责人联系方式', placeholder: '请输入企业负责人联系方式', UiType: 1, must: true },
  { fieldName: 'registerType', fieldTxt: '登记注册类型', placeholder: '请选择登记注册类型', UiType: 2, must: true },
  { fieldName: 'holdingSituation', fieldTxt: '控股情况', placeholder: '请选择控股情况', UiType: 2, must: true },
  { fieldName: 'businessScope', fieldTxt: '经营范围', placeholder: '请选择经营范围', UiType: 21, must: true },
  { fieldName: 'enterpriseType', fieldTxt: '企业类型', placeholder: '请选择企业类型', UiType: 2, must: true },
  { fieldName: 'serviceBrand', fieldTxt: '服务品牌', placeholder: '请输入服务品牌', UiType: 1, must: true },
  { fieldName: 'employees', fieldTxt: '从业人员数量', placeholder: '请输入从业人员数量', UiType: 1, must: true },
  { fieldName: 'videoNum', fieldTxt: '监控摄像机数量', placeholder: '请输入监控摄像机数量', UiType: 1, must: true },
  { fieldName: 'xrayNum', fieldTxt: 'X光机数量', placeholder: '请输入X光机数量', UiType: 1, must: true },
  { fieldName: 'check', fieldTxt: '是否落实100%先验视后封箱', placeholder: '请选择是否落实100%先验视后封箱', UiType: 2, must: true },
  { fieldName: 'realName', fieldTxt: '是否落实100%寄递实名制', placeholder: '请选择是否落实100%寄递实名制', UiType: 2, must: true },
  { fieldName: 'checkXray', fieldTxt: '是否100%X光机安检', placeholder: '请选择是否100%X光机安检', UiType: 2, must: true },
  { fieldName: 'longitude', fieldTxt: '经度', placeholder: '请输入经度', UiType: 1 },
  { fieldName: 'latitude', fieldTxt: '纬度', placeholder: '请输入纬度', UiType: 1 }
]

export const optList = {
  registerType: [
    { code: '110', name: '国有' },
    { code: '120', name: '集体' },
    { code: '130', name: '股份合作' },
    { code: '140', name: '联营' },
    { code: '150', name: '有限责任公司' },
    { code: '160', name: '股份有限公司' },
    { code: '170', name: '私营' },
    { code: '190', name: '其他内资企业' },
    { code: '200', name: '港澳台商投资企业' },
    { code: '300', name: '外商投资企业' }
  ],
  holdingSituation: [
    { code: '110', name: '国有控股' },
    { code: '120', name: '集体控股' },
    { code: '210', name: '私人控股' },
    { code: '220', name: '港澳台控股' },
    { code: '230', name: '外商控股' }
  ],
  businessScope: [
    { code: '01', name: '国内同城' },
    { code: '02', name: '国内异地' },
    { code: '03', name: '港澳台' },
    { code: '04', name: '国际' }
  ],
  enterpriseType: [
    { code: '01', name: '取得快递（物流）业务经营许可证企业' },
    { code: '02', name: '备案分支机构' },
    { code: '99', name: '其他' }
  ],
  yesOrNo: [
    { code: 1, name: '是' },
    { code: 0, name: '否' }
  ]
}
